<!--
 * @Author: yeminglong
 * @Date: 2023-12-01 14:15:55
 * @LastEditTime: 2023-12-01 14:18:44
 * @LastEditors: yeminglong
 * @Description:
-->


<script setup>
import useStore from '@/views/login/assets/user.store.js';
const store = useStore();

const setCount=()=>{
	store.count=store.count+1;
};
</script>



<template>
  <div>
    <h1>login{{ store.count }}</h1>
    <el-button @click="setCount">button </el-button>
    <el-link :to="{path: '/home'}">home</el-link>
  </div>

</template>
